<!DOCTYPE html>
<html>
<head>
<title>产品管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet"
	href="/resources/common/css/default/control-manage.css" />
<link rel="stylesheet" href="/resources/video/css/manage-extends.css" />
<link rel="stylesheet" href="/resources/video/css/uploadify.css" />
</head>
<body>
	<div class="Mheader">
		<ul>
			<li>周年庆活动管理</li>
			<li class="M_sep">&gt;</li>
			<li id="cgedit">活动配置</li>
			<li class="M_sep">&gt;</li>
			<li id="cgedit">配置</li>
		</ul>
	</div>
    
    <input type = "hidden" id = "hidden_prizeId" value="${object.prizeId}"/>
    <input type = "hidden" id = "hidden_activityType" value="${object.type}"/>
    <input type = "hidden" id = "hidden_stage" value="${object.stageId}"/>
    <input type = "hidden" id = "hidden_isStake" value="${object.isStake}"/>
    <input type = "hidden" id = "hidden_status" value="${object.status}"/>
    <input type = "hidden" id = "hidden_prizeType" value="${prizeType}"/>
    <input type = "hidden" id = "hidden_configId" value="${object.id}" />
    <input type = "hidden" id ="hidden_oriRemainCount" value="${object.prizeCount}" />
 	<div class="M-region">
		<ul>
			<li><div class="baseInfo">基本信息</div></li>
			<li ><span class="s1">id：</span> <span class="s2"
				><input
					type="text" name="configId" id="configId" maxlength="20" value="${object.id}" readonly="readonly"/></span>
			</li>
			<li><span class="s1">奖品ID：</span> <span class="s2"><input
					type="text" name="prizeId" id="prizeId" maxlength="20" value="${object.prizeId}" onblur="activityConfigEdit.chenckPrizeId(this)"/> </span>
			</li>
			<li><span class="s1">阶段：</span> <span class="s2"
				id="stageSpan"></span></li>
			<li><span class="s1">活动类型：</span> <input
					type="text" name="activityType" id="activityType" maxlength="20" value="" disabled="disabled"/></span></li>
            <li><span class="s1" id="ratioLabel">中奖概率：</span> <span class="s2"><input
					type="text" name="ratio" id="ratio" maxlength="20" value="${ratio}"/> </span>
			</li>
            <li><span class="s1">奖品实际个数：</span> <span class="s2"><input
					type="text" name="prizeCount" id="prizeCount" maxlength="20" value="${object.prizeCount}" onblur="activityConfigEdit.checkPrizeRealNumber(this)"/> </span>
			</li>
            <li><span class="s1">奖品显示的个数：</span> <span class="s2"><input
					type="text" name="prizeShowCount" id="prizeShowCount" maxlength="20" value="${object.prizeShowCount}"/> </span>
			</li>
			<li><span class="s1">剩余奖品数量：</span> <span class="s2"><input
					type="text" name="remainCount" id="remainCount" maxlength="20" value="${object.remainCount}" disabled="disabled"/> </span>
			</li>
            <li><span class="s1">消耗V豆：</span> <span class="s2"><input
					type="text" name="costBean" id="costBean" maxlength="20" value="${object.costBean}"/> </span>
			</li>
            <li><span class="s1">价格描述：</span> <span class="s2"><input
					type="text" name="price" id="price" maxlength="16" value="${object.price}"/> </span>
			</li>
		    <li><span class="s1">黑名单等级：</span> <span class="s2"><input
					type="text" name="blackLevel" id="blackLevel" maxlength="20" value="${object.blackLevel}"/> </span>
			</li>
			<li id="validateTimeLi">
			<span class="s1">有效时间：</span>
			<span class="s2">
			<label>时间(示例:20161225):</label>
			<input type="text" name="validateTime" id="validateTime" maxlength="8" value="${object.validateTime}" class="validateTimeInput"/>
			</span>
			</li>
			<li id="isStakeLi">
					<span class="s1">是否押注：</span>
					<label><input name="isStakeInput" type="checkbox" value="1" class="isStakeClass" onclick="activityConfigEdit.isStakeSelect(this)"/>是</label>
					<label><input name="isStakeInput" type="checkbox" value="0" class="isStakeClass" onclick="activityConfigEdit.isStakeSelect(this)"/>否</label>         
			</li>
			
			<li id="statusSelectLi">
					<span class="s1">是否生效：</span>
					<label><input name="statusSelectInput" type="checkbox" value="1" class="statusSelectClass" onclick="activityConfigEdit.statusSelect(this)"/>是</label>
					<label><input name="statusSelectInput" type="checkbox" value="0" class="statusSelectClass" onclick="activityConfigEdit.statusSelect(this)"/>否</label>         
			</li>
		
			<li>
				<span class="s1"><input type="button" id="btsubmit" class="Mbutton3"
					value="保存" /></span>
				<span> <input id="btBack" type="button" class="Mbutton3"
					value="返回" /></span>
			</li>
		</ul>
		
		<div style="float: left;margin-left: 450px;margin-top: -595px;">
			<span id="iconSpan"></span>
		</div>
		<div style="float: left;margin-left: 450px;margin-top: -295px;">
			<span id="image1ViewSpan"></span>
		</div>
		<div style="float: left;margin-left: 900px;margin-top:-595px;">
			<span id="image2ViewSpan"></span>
		</div>
		<div style="float: left;margin-left: 900px;margin-top: -295px;">
			<span id="image3ViewSpan"></span>
		</div>
	</div>	

	<div class="M-listRegion" style="clear:both">
		<table id="mainList"></table>
	</div>

    <div id="relationIdDialog" style="padding:10px 0 0 10px;display:none;">
		<div id="relateDiv"></div>
	</div>
	
	
	<script type="text/javascript"
		src="/resources/common/js/MZPub-video.js"></script>
	<script type="text/javascript"
		src="/resources/video/js/manage/util/VideoUtil.js"></script>
	<script type="text/javascript"
		src="/resources/video/js/manage/util/VideoResources.js"></script>
	<script type="text/javascript"
		src="/resources/video/js/manage/common/jquery-uploadify.js"></script>
	<script type="text/javascript"
		src="/resources/video/js/manage/util/upload-setting.js"></script>
	<script type="text/javascript"
		src="/resources/video/js/manage/activity/activityConfig-edit.js"></script>

</body>
</html>
